import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2024-02-06
 * Time: 13:51
 */

public class Test {
    public static void main(String[] args) {
        int[] array={27,15,19,18,28,34,65,49,25,37};
        PriorityQueue priorityQueue=new PriorityQueue();
        priorityQueue.initElem(array);
        priorityQueue.fun(array);
        System.out.println("=================");
      /*  priorityQueue.createHeap(array);
        System.out.println("================");
        priorityQueue.push(100);
        priorityQueue.pollHeap();

        System.out.println("==================");

        System.out.println(priorityQueue.peekHeap());
        System.out.println("==============");*/
    }
}
